package com.base.service.impl;

import com.base.mapper.voipmapper.TbkBrandCategoryMapper;
import com.base.po.tbk.TbkBrandCategory;
import com.base.po.tbk.TbkBrandCategoryExample;
import com.base.service.TbkBrandCategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("tbkBrandCategoryService")
public class TbkBrandCategoryServiceImpl implements TbkBrandCategoryService {
	
	@Autowired
	private TbkBrandCategoryMapper tbkBrandCategoryMapper;


	@Override
	public int countByExample(TbkBrandCategoryExample example) {
		return tbkBrandCategoryMapper.countByExample(example);
	}

	@Override
	public int deleteByExample(TbkBrandCategoryExample example) {
		return tbkBrandCategoryMapper.deleteByExample(example);
	}

	@Override
	public int deleteByPrimaryKey(String id) {
		return tbkBrandCategoryMapper.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(TbkBrandCategory record) {
		return tbkBrandCategoryMapper.insert(record);
	}

	@Override
	public int insertSelective(TbkBrandCategory record) {
		return tbkBrandCategoryMapper.insertSelective(record);
	}

	@Override
	public List<TbkBrandCategory> selectByExample(TbkBrandCategoryExample example) {
		return tbkBrandCategoryMapper.selectByExample(example);
	}

	@Override
	public List<TbkBrandCategory> selectByLevel1(String parentid, String shopid) {
		return tbkBrandCategoryMapper.selectByLevel1(parentid, shopid);
	}

	@Override
	public TbkBrandCategory selectByPrimaryKey(String id) {
		return tbkBrandCategoryMapper.selectByPrimaryKey(id);
	}

	@Override
	public int updateByExampleSelective(TbkBrandCategory record, TbkBrandCategoryExample example) {
		return tbkBrandCategoryMapper.updateByExampleSelective(record, example);
	}

	@Override
	public int updateByExample(TbkBrandCategory record, TbkBrandCategoryExample example) {
		return tbkBrandCategoryMapper.updateByExample(record, example);
	}

	@Override
	public int updateByPrimaryKeySelective(TbkBrandCategory record) {
		return tbkBrandCategoryMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(TbkBrandCategory record) {
		return tbkBrandCategoryMapper.updateByPrimaryKey(record);
	}
}
